package com.team1.supervend.state_machine;

public class IdleState implements State {
	SuperVend superVend;
 
	public IdleState(SuperVend superVend) {
		this.superVend = superVend;
	}
  
	@Override
	public void startSale() {
		System.out.println("startSale");
		superVend.setState(superVend.getProcessingSaleState());
	}

	@Override
	public void cancelSale() {
		System.out.println("cancelSale                  -- IdleState -- do nothing");
	}

	@Override
	public void endSale() {
		System.out.println("endSale                     -- IdleState -- do nothing");
	}

	@Override
	public void returnToIdle() {
		System.out.println("returnToIdle                -- IdleState -- do nothing");
	}

	@Override
	public void preValidatePayment() {
		System.out.println("preValidatePayment          -- IdleState -- do nothing");
	}

	@Override
	public void payBalance() {
		System.out.println("payBalance                  -- IdleState -- do nothing");
	}

	@Override
	public void cancelPayment() {
		System.out.println("cancelPayment               -- IdleState -- do nothing");
	}

	@Override
	public void chooseCashPayment() {
		System.out.println("chooseCashPayment           -- IdleState -- do nothing");
	}

	@Override
	public void insertMoney(float denomination) {
		System.out.println("insertMoney                 -- IdleState -- do nothing");
	}

	@Override
	public void makeCashPayment() {
		System.out.println("makeCashPayment             -- IdleState -- do nothing");
	}

	@Override
	public void supplyCreditCardInformation() {
		System.out.println("supplyCreditCardInformation -- IdleState -- do nothing");
	}

	@Override
	public void paymentAuthorized() {
		System.out.println("paymentAuthorized           -- IdleState -- do nothing");
	}

	@Override
	public void allowProductSelection() {
		System.out.println("allowProductSelection       -- IdleState -- do nothing");
	}

	@Override
	public void chooseProduct(int quantity) {
		System.out.println("chooseProduct               -- IdleState -- do nothing");
	}

	@Override
	public void productSelectionComplete() {
		System.out.println("productSelectionComplete    -- IdleState -- do nothing");
	}
 
	public String toString() {
		return "IdleState";
	}
}
